Skip to content

BehaviorSubject class

Defined in

Namespace: System.Reactive.Subjects Assembly: System.Reactive.dll Full name: System.Reactive.Subjects.BehaviorSubject<T> Modifiers: public sealed

Summary

Inherited documentation

These docs were inherited from SubjectBase.

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

Applies to

net8.0, net8.0-windows10.0.19041, netstandard2.0

Class hierarchy
classDiagram
class BehaviorSubject~T~
class SubjectBase~T~
SubjectBase~T~ <|-- BehaviorSubject~T~

Inherits from: SubjectBase

Constructors

NameSummary
.ctor

Properties

NameSummary
HasObservers
IsDisposed
Value

Methods

NameSummary
TryGetValue
OnCompletedNotifies the observer that the provider has finished sending push-based notifications.
OnErrorNotifies the observer that the provider has experienced an error condition.
OnNextProvides the observer with new data.
SubscribeNotifies the provider that an observer is to receive notifications.
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Inherited members